package cn.join.ideer.common.req;

import cn.join.ideer.common.vo.TokenRequestVo;
import lombok.Data;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
@ToString
public class UserChangeTagsAndHobbiesReqDto extends TokenRequestVo {
    @Valid
    @NotNull(message = "tagIds不能为空")
    @Size(min = 1, message = "tagIds至少要有一个")
    private List<Long> tagIds;
    private List<Long> hobbies;

}
